package com.iflysse.ex;

/**
 * 自定义异常类
 * @author oubijie
 *
 */
public class CommonException extends RuntimeException {

	private int code;
	
	public CommonException(int code, String msg) {
		super(msg);
		this.code = code;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}
}
